using System;
using System.Runtime.Serialization;

namespace RStein.Posterous.API
{
    #if !SILVERLIGHT
    [Serializable]
    #endif
    public class PosterousException : Exception
    {
        public PosterousException() { }
        public PosterousException(string message) : base(message) { }
        public PosterousException(string message, Exception inner) : base(message, inner) { }
        #if !SILVERLIGHT
        protected PosterousException(SerializationInfo info, StreamingContext context) : base(info, context) { }
        #endif
        public string ErrorCode
        {
            get;
            internal set;

        }

        public string ErrorDetail
        {
            get;
            internal set;
        }
    }
   
}